<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="Generator" content="Trainercity v1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="<?php echo $this->_var['keywords']; ?>" />
<meta name="Description" content="<?php echo $this->_var['description']; ?>" />
<title><?php echo $this->_var['page_title']; ?></title>
<link href="<?php echo $this->_var['ecs_css_path']; ?>" rel="stylesheet" type="text/css" />

<?php echo $this->smarty_insert_scripts(array('files'=>'common.js,user.js')); ?>
<script type="text/javascript">


  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-1848127-18']);
  _gaq.push(['_setDomainName', '.fitwow.com']);
  _gaq.push(['_trackPageview']);


  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();


</script></head>
<body>
	<?php echo $this->fetch('library/page_header.lbi'); ?>
    	<div class="l_nav">
            <div class="l_nav_con">
                <ul>
                    <li><a href="user.php">My Dashboard</a></li>
                    <li><a href="projects.php?act=my_clients_proposals">My Offers</a></li>
                    <li><a href="user.php?act=profile">Manage Account</a></li>
                </ul>
            </div>
       </div>
       <div class="center">
       		<div class="review">
          		<div class="Proposal1">
            		<div class="Prop1">Review Client</div>
					<div class="Prop3"><ul><li ><img id="star_1" src="themes/default/images/nostar.gif" onmousemove="change_image(1)" /><img id="star_2" src="themes/default/images/nostar.gif" onmousemove="change_image(2)" /><img  id="star_3"  src="themes/default/images/nostar.gif" onmousemove="change_image(3)" /><img  id="star_4"  src="themes/default/images/nostar.gif" onmousemove="change_image(4)" /><img  id="star_5"  src="themes/default/images/nostar.gif" onmousemove="change_image(5)" /></li></ul></div>
            		<!--<div class="Prop3"><img src="themes/default/images/106.gif"></div> -->
            		<div class="Prop2_2">(<?php echo $this->_var['project']['rank_number']; ?> costumer reviews)</div>
          		</div>
				<form action="projects.php" method="post" name="task" id="task"> 
        		<div class="Proposal5">
          			<div class="Proposal5_1" style="width:900px;">*Client : <?php echo $this->_var['project']['user_name']; ?></div>         			
        		</div>
        						
         		<div class="Proposal6" align="left" style="margin-top:10px;">
					<textarea  style="width:650px;height:160px; text-align:left; font:Arial, Helvetica, sans-serif; font-size:16px; font-weight:bold; margin-bottom:5px; margin-top:5px; " id="review" name="review" maxlength="2000"  >Please write the review</textarea>								
				</div>
         		<div class="submit" style="margin-top:20px;">
                	<input type="submit" name="button2" id="button2" class="sohu" value="Review" />
					<input type="hidden" name="act" value="act_review_client" />
					<input type="hidden" id="score" name="score" value="0" />
					<input type="hidden" name="uid" value="<?php echo $this->_var['project']['uid']; ?>" />
					<input type="hidden" name="ppid" value="<?php echo $this->_var['ppid']; ?>" />
          		</div>
		  		</form>
         	</div>
  		</div>
		<div class="lcl_llin"></div>
       	<?php echo $this->fetch('library/page_footer.lbi'); ?>	
</body>
<script>
	function change_image(value)
	{
		if(value == 1)
		{
			document.getElementById("star_1").src="themes/default/images/star.gif";
			document.getElementById("star_2").src="themes/default/images/nostar.gif";
			document.getElementById("star_3").src="themes/default/images/nostar.gif";
			document.getElementById("star_4").src="themes/default/images/nostar.gif";
			document.getElementById("star_5").src="themes/default/images/nostar.gif";
			document.getElementById("score").value="1";
		}
		else if(value == 2)
		{
			document.getElementById("star_1").src="themes/default/images/star.gif";
			document.getElementById("star_2").src="themes/default/images/star.gif";
			document.getElementById("star_3").src="themes/default/images/nostar.gif";
			document.getElementById("star_4").src="themes/default/images/nostar.gif";
			document.getElementById("star_5").src="themes/default/images/nostar.gif";
			document.getElementById("score").value="2";
		}
		else if(value == 3)
		{
			document.getElementById("star_1").src="themes/default/images/star.gif";
			document.getElementById("star_2").src="themes/default/images/star.gif";
			document.getElementById("star_3").src="themes/default/images/star.gif";
			document.getElementById("star_4").src="themes/default/images/nostar.gif";
			document.getElementById("star_5").src="themes/default/images/nostar.gif";
			document.getElementById("score").value="3";
		}
		else if(value == 4)
		{
			document.getElementById("star_1").src="themes/default/images/star.gif";
			document.getElementById("star_2").src="themes/default/images/star.gif";
			document.getElementById("star_3").src="themes/default/images/star.gif";
			document.getElementById("star_4").src="themes/default/images/star.gif";
			document.getElementById("star_5").src="themes/default/images/nostar.gif";
			document.getElementById("score").value="4";
		}
		else if(value == 5)
		{
			document.getElementById("star_1").src="themes/default/images/star.gif";
			document.getElementById("star_2").src="themes/default/images/star.gif";
			document.getElementById("star_3").src="themes/default/images/star.gif";
			document.getElementById("star_4").src="themes/default/images/star.gif";
			document.getElementById("star_5").src="themes/default/images/star.gif";
			document.getElementById("score").value="5";
		}
	}
</script>
</html>
